<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>update Employee</title>
</head>
<body>
<form th:action="@{/employee}" method="post">
    <input type="hidden" name="_method" value="put">
    <input type="hidden" name="id" th:value="${employee.id}">
    name:<input type="text" name="name" th:value="${employee.name}"><br>
    email:<input type="text" name="email" th:value="${employee.email}"><br>
    age:<input type="text" name="age" th:value="${employee.age}"><br>

    <input type="submit" value="update">


</form>
</body>
</html>